<div class="key" data-spec1="<?php echo $goods_info['spec_id']?>"><?php echo $goods_info['name']?></div>
<div class="value">
<?php foreach ($goods_info['childs'] as $k=>$v):?>
	<p data-sku="<?php echo $v['spec_value_id'];?>" class="<?php if($products['sku1'] == $v['spec_value_id']):?>cur<?php endif;?><?php if(isset($v['idgray']) && $v['idgray'] == 0):?> grey <?php endif;?>"><?php echo $v['name']; ?></p>
<?php endforeach;?>
</div>